package com.service.impl;

import com.bean.Answer;
import com.mapper.AnswerMapper;
import com.service.AnswerService;
import com.sun.xml.internal.ws.developer.Serialization;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AnswerServerImpl implements AnswerService {

    @Autowired
    private AnswerMapper answerMapper;


    @Override
    public List<Answer> checkAll() {
        Answer a=new Answer();
        return answerMapper.select(a);
    }
}
